package com.tbit.uqbike.webmanager.util;

import com.tbit.uqbike.object.pojo.Machine;

import java.util.ArrayList;
import java.util.List;

/**
 * 续费导出
 *
 * @author Leon
 * 2015-6-10 下午02:34:54
 */
public class MachineExportUtil {

    /**
     * 续费数据导出
     */
    public static List<String[]> getExportContent(List<Machine> machines) {
        List<String[]> result = new ArrayList<String[]>();

        /*标题*/
        String[] title = {"设备编号"};
        result.add(title);

        for (Machine r : machines) {
            String[] content = {r.getMachineNO()};
            result.add(content);
        }


        return result;
    }

}
